package com.farina.tracescleaner.tasks;


import android.content.Context;
import android.net.Uri;


public class DeleteSMSTask{

	Context context;

	public DeleteSMSTask(Context context) {
		this.context=context;
	}



	public void delete() {
		context.getContentResolver().delete(Uri.parse("content://sms/"), null, null);
		//context.getContentResolver().delete(Uri.parse("content://sms/inbox"), null, null);
		context.getContentResolver().delete(Uri.parse("content://mms/"), null, null);
		//context.getContentResolver().delete(Uri.parse("content://mms-sms/conversations?simple=true"), null, null);
	}

}
